package com.neuedu.learn;

public class Demo2 {

    /**
     * 运算  算数
     * @param arg
     */
    public static void main(String arg[]){

        int numa = 20;
        int numb = 10;
        int numc = 3;
        double numd = 20.0;

        System.out.println("(numa + numb) = " + (numa + numb));
        System.out.println("(numa - numb) = " + (numa - numb));
        System.out.println("(numa * numb) = " + (numa * numb));
        System.out.println("(numa / numb) = " + (numa / numb));
        System.out.println("(numa / numc) = " + (numa / numc));
        System.out.println("(numd / numc) = " + (numd / numc));
        System.out.println("(numa % numc) = " + (numa % numc));

        int nume = 10;
//        nume = nume + 1;
//        nume++;
       ;
        System.out.println("  ++nume = " + ( ++nume));
//        System.out.println("nume++  1 = " + ( nume++));


//        --

    }




}
